package com.association.management.controller.admin;

import com.association.management.common.ResultVO;
import com.association.management.common.utils.ResultVOUtil;
import com.association.management.mbg.model.Association;
import com.association.management.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by PanD
 */
@RestController
@RequestMapping("admin/association")
public class AdminController {

    @Autowired
    private AdminService adminService;

    @PostMapping("create")
    public ResultVO createAssociation(Association association) {
        return ResultVOUtil.success();
    }
}
